package com.xiaotu.config;

import kohgylw.kcnamer.core.KCNamer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhangxiao
 * @create 2022-03-11 14:04
 */
@Configuration
public class BeanConfig {

    /**
     * 随机生成名字
     *
     * @return
     */
    @Bean
    public KCNamer kcNamer() {
        return new KCNamer();
    }

}
